.gmls {
   width: 250px;
 }

.gmls-app {
  width : 100%;
  font-family: arial, sans-serif;
  font-size : 12px;
  border : 1px solid #979797;
}

.gmls-app table {
  width : 100%;
  border-collapse : collapse;
}

.gmls-app td {
  vertical-align : top;
  border : none;
  padding : 0px;
}

.gmls-search-form {
  padding-top : 2px;
  padding-bottom : 2px;
  padding-left : 2px;
  padding-right : 2px;
  margin-bottom: 0px;
  background-color : #FFFFFF;
}

.gmls-search-form-withclear {
  background-image : url('img/google-logo.png');
  background-repeat : no-repeat;
  background-position : center left;
  padding-left : 57px;
  height : 23px;
}

.gmls-search-form table.gsc-search-box,
.gmls-search-form form.gsc-search-box {
  margin : 0px;
  padding : 0px;
}

.gmls-search-form table.gsc-branding {
  display : none;
}

.gmls-search-form form.gsc-search-box input.gsc-input {
  padding : 1px;
}

.gmls-search-form-idle form.gsc-search-box input.gsc-input {
  color : #676767;
}

.gmls-search-form-active form.gsc-search-box input.gsc-input {
  color : #000000;
}

/* style buttons */
.gmls-search-form input.gsc-search-button {
  background-color : #ffffff;
  border-width : 1px;
  border-style : solid;
}

.gmls-search-form-idle input.gsc-search-button {
  color : #676767;
  border-color : #676767;
}

.gmls-search-form-active input.gsc-search-button {
  color : #000000;
  border-color : #000000;
}

.gmls-search-form div.gsc-clear-button {
  margin-left : 0px;
  margin-right : 0px;
  padding-left : 24px;
  font-size : 20px;
  background-image : url('img/clear-button.png');
  background-repeat : no-repeat;
  background-position : center right;
}

.gmls-search-form td.gsc-clear-button {
  width : 30px;
  height : 23px;
}

.gmls-prev-next-active {
  margin-left : 0px;
  display : block;
  text-align : center;
  width : 100%;

}

.gmls-prev-next-center {
  width : 50px;
  vertical-align : middle;
  margin-left : auto;
  margin-right : auto;
}

.gmls-idle .gmls-prevNext,
.gmls-prev-next-idle {
  display : none;
}

.gmls-prev {
  display : inline;
  cursor : pointer;
  padding-right : 8px;
  margin-right : 4px;
  background-repeat: no-repeat;
  background-position: right 2px;
}

.gmls-next {
  display : inline;
  cursor : pointer;
  padding-left : 8px;
  margin-left : 4px;
  background-repeat: no-repeat;
  background-position: left 2px;
}

.gmls-prev-idle {
  background-image : url('img/prev-idle.gif');
}

.gmls-prev-active {
  background-image : url('img/prev-active.gif');
}

.gmls-next-idle {
  background-image : url('img/next-idle.gif');
}

.gmls-next-active {
  background-image : url('img/next-active.gif');
}

.gmls-app-full-mode .gmls-prev-next {
  display : none;
}

.gmls-idle .gmls-attribution {
  display : none;
}

.gmls-active .gmls-attribution {
  display : block;
}

.gmls-attribution div.gs-results-attribution {
  margin-top : 2px;
  margin-bottom : 2px;
}

.gmls-app .gs-watermark {
  display : none;
}

.gmls-app .gs-result a.gs-secondary-link {
  color : #7777cc;
}

.gmls-app .gmls-result-wrapper,
.gmls-app .gs-result {
  padding-bottom : 0px;
}

.gmls-app div.gs-directions {
  display : none;
}

.gmls-app div.gs-directions-to-from {
  display : block;
}

.gmls-results-popup {
}
.gmls-idle .gmls-results-popup {
  display : none;
}

.gmls-active .gmls-results-popup {
  display : block;
}

.gmls-results-list {
  font-family : arial;
  font-size : 12px;
  background-color : #FFFFFF;
  opacity : 0.9;
  -moz-opacity : 0.9;
  filter:alpha(opacity=90);
}

.gmls-external-results .gmls-results-list {
  opacity : 1;
  -moz-opacity : 1;
  filter:alpha(opacity=100);
}

.gmls-app-full-mode .gmls-results-list div.gmls-results-table {
  margin-bottom : 4px;
}

.gmls-results-list .gmls-result-list-item {
  margin-top : 1px;
  margin-bottom : 1px;
  padding-right : 2px;
  padding-left : 1px;
  cursor : pointer;
  height : 16px;
  font-size : 12px;
  overflow : hidden;
}

.gmls-results-list .gmls-results-table,
.gmls-results-list table.gmls-results-controls {
  padding : 0px;
  border-width: 0px;
  border-style: none;
  border-spacing: 0px;
  border-collapse: collapse;
 }

.gmls-app-full-mode .gmls-results-list div.gmls-results-controls {
}

.gmls-app-compact-mode .gmls-results-list div.gmls-results-controls {
  margin-top : 1px;
  margin-bottom : 1px;
}

.gmls-results-controls td {
  vertical-align : top;
  font-size: 12px;
  background-color: #EEEEEE;
}

.gmls-results-controls td.gmls-more-results {
  text-align : left;
}

.gml-results-controls td.gmls-clear-results {
  text-align : right;
}

.gmls-results-list div.gmls-clear-results,
.gmls-results-list a.gmls-more-results {
  color: #7777cc;
  text-decoration : underline;
  cursor : pointer;
  text-align : right;
}

.gmls-results-list .gmls-result-list-item .gmls-result-list-item-key {
  color : #000000;
  font-weight : bold;
  display : inline;
  margin-right : 4px;
}

.gmls-results-list .gmls-result-list-item .gmls-result-list-item-key-keymode {
  display : inline;
  cursor : pointer;
  margin-left : 2px;
  padding-left : 12px;
  background-repeat: no-repeat;
  background-position: left center;
}

.gmls-result-list-item-key-A {
  background-image : url('img/label_red_A.png');
}
.gmls-result-list-item-key-kml-A {
  background-image : url('img/label_blue_A.png');
}

.gmls-result-list-item-key-B {
  background-image : url('img/label_red_B.png');
}
.gmls-result-list-item-key-kml-B {
  background-image : url('img/label_blue_B.png');
}

.gmls-result-list-item-key-C {
  background-image : url('img/label_red_C.png');
}
.gmls-result-list-item-key-kml-C {
  background-image : url('img/label_blue_C.png');
}

.gmls-result-list-item-key-D {
  background-image : url('img/label_red_D.png');
}
.gmls-result-list-item-key-kml-D {
  background-image : url('img/label_blue_D.png');
}

.gmls-result-list-item-key-E {
  background-image : url('img/label_red_E.png');
}
.gmls-result-list-item-key-kml-E {
  background-image : url('img/label_blue_E.png');
}

.gmls-result-list-item-key-F {
  background-image : url('img/label_red_F.png');
}
.gmls-result-list-item-key-kml-F {
  background-image : url('img/label_blue_F.png');
}

.gmls-result-list-item-key-G {
  background-image : url('img/label_red_G.png');
}
.gmls-result-list-item-key-kml-G {
  background-image : url('img/label_blue_G.png');
}

.gmls-result-list-item-key-H {
  background-image : url('img/label_red_H.png');
}
.gmls-result-list-item-key-kml-H {
  background-image : url('img/label_blue_H.png');
}

.gmls-result-list-item-key-I {
  background-image : url('img/label_red_I.png');
}
.gmls-result-list-item-key-kml-I {
  background-image : url('img/label_blue_I.png');
}

.gmls-result-list-item-key-J {
  background-image : url('img/label_red_J.png');
}
.gmls-result-list-item-key-kml-J {
  background-image : url('img/label_blue_J.png');
}

.gmls-results-list .gmls-result-list-item .gs-title {
  color : #0000cc;
  text-decoration : underline;
  display : inline;
}

.gmls-results-list div.gmls-selected {
  background-color : rgb(238, 238, 238);
}

.gmls-results-list .gmls-result-list-item .gs-street {
  color : #676767;
  text-decoration : none;
  display : inline;
  overflow : hidden;
}

.gmls-results-list .gmls-selected .gs-street {
  color : #000000;
}

.gmls-result-list-item .gmls-result-list-item-warning-symbol {
  color : red;
  font-weight : bold;
  display : inline;
  margin-right : 4px;
}

.gmls-results-list .gmls-result-list-item-warning-text {
  color : #000000;
  font-weight : bold;
  display : inline;
}
.gmls-result-wrapper {
  font-family: arial, sans-serif;
  font-size : 12px;
}

.gmls-result-wrapper .gs-result .gs-watermark {
  display : none;
}

.gmls-result-wrapper .gs-result .gs-directions {
  display : none;
}

.gmls-result-wrapper .gs-result .gs-directions-to-from {
  display : block;
}

.gmls-no-results-table {
  width : 100%;
  vertical-align : middle;
}

.gmls-clear-results-cell {
  text-align : right;
}

.gmls-no-results-label {
  text-align : left;
  font-size : 12px;
  color: rgb(103, 103, 103);
}

/* Ads Box Formats */

/* inline: positioned inside ads results */
.gmls-ads-box-234x60_as {
  width : 234px;
  height : 64px;
  position : relative;
  display : none;
}
.gmls-ads-box-234x60_as .gmls_inline_ads {
  top : 0px;
  left : 8px;
}

/* strip: across top */
.gmls-ads-box-468x15_0ads_al {
  width : 468px;
  height : 15px;
  display : none;
}
.gmls-ads-box-468x15_0ads_al .gmls_inline_ads {
  top : 4px;
  left : 80px;
}

/* skyscraper lower right */
.gmls-ads-box-120x600_as {
  width : 120px;
  height : 600px;
  display : none;
}
.gmls-ads-box-120x600_as .gmls_inline_ads {
  bottom : 1.4em;
  right : 2px;
}

/* wide_skyscraper lower right */
.gmls-ads-box-160x600_as {
  width : 160px;
  height : 600px;
  display : none;
}
.gmls-ads-box-160x600_as .gmls_inline_ads {
  bottom : 1.4em;
  right : 2px;
}

/* button: lower right */
.gmls-ads-box-125x125_as {
  width : 125px;
  height : 125px;
  display : none;
}
.gmls-ads-box-125x125_as .gmls_inline_ads {
  bottom : 1.4em;
  right : 2px;
}

/* vertical_banner: lower right */
.gmls-ads-box-120x240_as {
  width : 120px;
  height : 240px;
  display : none;
}
.gmls-ads-box-120x240_as .gmls_inline_ads {
  bottom : 1.4em;
  right : 2px;
}

/* links_120x90: lower right */
.gmls-ads-box-120x90_0ads_al {
  width : 120px;
  height : 90px;
  display : none;
}
.gmls-ads-box-120x90_0ads_al .gmls_inline_ads {
  bottom : 1.4em;
  right : 2px;
}


